﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessObject;
using System.Data;

namespace GreenLife
{
    public partial class Template : System.Web.UI.MasterPage
    {
        NewsBO nBO = new NewsBO();
        DataSet ds;
        protected void Page_Load(object sender, EventArgs e)
        {
            this.selectNewsByStatus();
        }
        public void selectNewsByStatus()
        {
            ds = nBO.getTT_TDDU(3);
            this.listDANoiBat.DataSource = ds.Tables[0];
            this.listDANoiBat.DataBind();
        }
    }
}